@charset "utf-8";

.DIY1{
    box-sizing: border-box;
    width: 100%;
    height: 1030px;
    background: url(../../img/other/DIY1-bg.png) no-repeat;
    padding-top: 44px;
    >p{
      font-size: 20px;  
      line-height: 88px;
      text-align: center;
      color: #FFFFFF;
    }
}
.DIYtitle{
    height: 34px;
    width: 634px;
    background: skyblue;
    border-radius: 17px;
    margin: 0 auto;
    position: relative;
    >div{
        position: absolute;
        width: 184px;
        height: 34px;
        border-radius: 17px;
        background: #f0f0f0;
        font-size: 14px;
        color: #878787;
        line-height: 34px;
        text-align: center;
    }
    #DIYtitle2{
        left: 150px;
    }
    #DIYtitle3{
        left: 300px;
    }
    #DIYtitle4{
        left: 450px;
    }
    .DIYtile-active{
        background: #eb413d;
        color: #FFFFFF;
        z-index: 40;
    }
    .DIYtile-active::before{
        position: absolute;
        content: "";
        width: 6px;
        height: 6px;
        background: #FFFFFF;
        border-radius: 3px;
        left: 12px;
        top: 14px;
    }
}


//@keyframes slide-fwd-center1{
//  0%{transform:scale(1);}
//  100%{transform:scale(1.2);}
//}


.DIY1-item-box{
    width: 1000px;
    height: 796px;
    margin: 5px auto;
    >div{
        float: left;
        
    }
    p{
        font-size: 16px;
        line-height: 54px;
        text-align: center;
         color: #FFFFFF;
        img{
            margin-left: 8px;
            margin-bottom: -2px;
        }
    }
    .DIY1-item1{
        width: 240px;
        height: 398px;
        margin-left: 13px;
        .DIY1-item1-pic{
            width: 240px;
            height: 320px;
            background: url(../../img/other/DIY1-item1-bg.png) no-repeat;
            position: relative;
            overflow: hidden;
            img{
                position: absolute;
                left: -99px;
                right: -99px;
                top: -99px;
                bottom: -99px;
                margin: auto;
                transform: scale(1);
                transition: 0.45s;
            }
            img:hover{
                transform: scale(1.2);
            }
        }
        
        
    }
    .DIY1-item1:first-of-type{
        margin-left: 0;
    }
    .DIY1-item2{
        width: 320px;
        height: 398px;
        margin-right: 17px;
        .DIY1-item2-pic{
            width: 322px;
            height: 320px;
            background: url(../../img/other/DIY1-item2-bg.png) no-repeat;
            position: relative;
            img{
                position: absolute;
                left: -99px;
                right: -99px;
                top: -99px;
                bottom: -99px;
                margin: auto;
                transform: scale(1);
                transition: 0.45s;
            }
            img:hover{
                transform: scale(1.2);
            }
        }
    }
    .DIY1-item2:last-of-type{
        margin-right: 0;
    }
}



//DIY2页面

.DIY2{
    width: 100%;
    height: 1231px;//421
    .DIY2-top{
        box-sizing: border-box;
        height: 90px;
        width: 100%;
        background: url(../../img/other/DIY2-top-bg.png) no-repeat;
        padding-top: 27px;
        >p{
            height: 21px;
            margin-right: 30px;
            margin-top: -30px;
            a{
                font-size: 14px;
                line-height: 21px;
                color: #FFFFFF;
            }
            img{
                margin-right: 9px;
            }
        }
    }
    .DIY2-content{
        height: 720px;
        width: 100%;
        background: url(../../img/other/DIY2-content-bg.png) no-repeat;
    }
    .DIY2-recommend{
        height: 421px;
        width: 100%;
    }
}

